<?PHP

class VoucherFieldsBO extends BusinessObject{
  /* private function using in constructors*/
  function setAttributes(){
    $this->fields   = array(
			"id"       =>	"vfield_id",
    		"voucher"  =>   "vfield_voucher",
			"code"     =>	"vfield_code",
			"x"		   =>	"vfield_x",
			"y" 	   =>	"vfield_y",
			"font"	   =>	"vfield_font",
    		"size"	   =>	"vfield_size",
    		"color"	   =>	"vfield_color",
    		"bold"	   =>	"vfield_bold"
		);
    BusinessObject::setAttributes();
  }
  /* constuctor */
  function VoucherFieldsBO(){
    /** super(tableName) */
    BusinessObject::BusinessObject("voucher_fields");
    $this->setAttributes();
  } 
}
?>